import subroutes from "./subroutes";

export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/Login',
          },
        ],
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/',
    component: '../layouts/BasicLayout',
    routes: [...subroutes, {
      path: '/account',
      name: '个人中心',
      component: './account',
    },
    {
      component: './404',
    },]
  },

  {
    component: './404',
  },
];
